﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Zhongchouwwwww.webform
{
    public partial class download : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void DownloadBtn_Click(object sender, EventArgs e)
        {
            Response.ContentType = "application/vnd.android.package-archive";
            Response.AddHeader("Content-Disposition", "attachment;filename=app-release.apk");
            string filename = Server.MapPath("../DownLoad/app-release.apk");
            Response.TransmitFile(filename);
            Response.End();
        }
    }
}